<?php


namespace app\api\model;


use think\Model;

class PrepareReturnRelation extends Model
{
    protected $table = 'jxc.jxc_preparereturnrelation';

    public function preparerReturn()
    {
        return $this->belongsTo(PrepareReturn::class, 'pid');
    }

    public function parent()
    {
        return $this->belongsTo(PrepareReturn::class, 'pid');
    }
}
